package com.dwxt.community.aiequipment.enumeration;

/**
 * @program: intelligentcity
 * @description:
 * @author
 * @create: 2020/04/21
 */
public interface BaseProtocolOffsetCode {


    /************************************/
    //  协议回复内容  位置
    /*************************************/
    //起始码
    int REPLY_QSM_LOW = 0;
    int REPLY_QSM_HIGH = 1;
    //长度
    int REPLY_LENGTH_LOW = 2;
    int REPLY_LENGTH_HIGH = 3;
    //时间
    int REPLY_YEAR = 4;
    int REPLY_MONTH = 5;
    int REPLY_DAY = 6;
    int REPLY_HOUR = 7;
    int REPLY_MINUTE = 8;
    int REPLY_SECOND = 9;
    //通信状态
    int REPLY_COMMUNICATE_STATUS = 10;
    //业务状态
    int REPLY_BUSINESS_STATE = 11;


    /************************************/
    //  协议接收内容  位置
    /*************************************/

    //设备号后面第一个字段的开始位置
    int DEVICE_END_STAR = 16;
}
